package io.renren.modules.sq.dto;

import io.renren.modules.sq.entity.SqSystemAuthorizationCodeEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class CodeListDto {
    private static final long serialVersionUID = 1L;
    /**
     * 创建者名称
     */
    @ApiModelProperty(value = "创建者名称", dataType = "String")
    private String userName;
    /**
     * 系统名称
     */
    @ApiModelProperty(value = "系统名称", dataType = "String")
    private String systemName;
    /**
     * 系统版本
     */
    @ApiModelProperty(value = "系统版本", dataType = "String")
    private String systemEdition;
    /**
     * 添加记录次数（1开始）
     */
    @ApiModelProperty(value = "添加记录次数（1开始）", dataType = "Integer")
    private Integer createCodeNum;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", dataType = "Date")
    private Date createtime;
    /**
     * 创建者id
     */
    @ApiModelProperty(value = "创建者id", dataType = "Long")
    private Long userId;
    /**
     * 应用版本id
     */
    @ApiModelProperty(value = "应用版本id", dataType = "Long")
    private Long systemEditionId;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", dataType = "String")
    private String remarks;
    /**
     * 已用
     */
    @ApiModelProperty(value = "已用", dataType = "Integer")
    private Integer usedNum;
    /**
     * 未用
     */
    @ApiModelProperty(value = "未用", dataType = "Integer")
    private Integer unusedNum;
    /**
     * 授权码list
     */
    @ApiModelProperty(value = "授权码list", dataType = "List<SqSystemAuthorizationCodeEntity>")
    List<SqSystemAuthorizationCodeEntity> codes;
}
